October 22, 2024
v3 Get document requirements
Description:
creates an encrypted file
URI:
https://api.multitel.net/v3/get_requirements
Parameters:
Required: (POST request only) - country: Country ISO Code - number_type : Number Type, available values are as follow:'Global','Local','Mobile','National','Shared Cost','Toll Free' - type : Document Type,available values are as follow: 'registration','porting'
Methods:
POST
Sample Output:
{ "status": { "code": 200, "msg": "" }, "response": "German Local DID End User registration requirements:<br>\r\nFor <b>personal identity</b> verification:\r\n* Name, last name\r\n* Contact phone number\r\n* Passport or ID copy\r\n* Germany registration form<br>\r\nFor <b>business identity</b> verification:\r\n* Name, last name\r\n* Contact phone number\r\n* Company name\r\n* German company incorporation certificate copy\r\n* Germany registration form<br>\r\nFor <b>address</b> verification:\r\n* Address matching the DID area code (street, building number, postal code, city and country)\r\n* A copy of a utility bill (less than 6 months old)<br>\r\nThe number provided online is a <b>demo</b>. An active number will be provided when the registration process is complete.<br>\r\nTo activate the DID number(s) please create an identity and address bundle matching the requirements and assign it to the DID number(s) for approval.<br>" }
Sample Code:
$curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => 'https://api.multitel.net/v3/get_requirements', CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => '', CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => 'POST', CURLOPT_POSTFIELDS => array('type' => 'registration','country' => 'DE','number_type' => 'local'), CURLOPT_HTTPHEADER => array( 'Content-Type: application/json', 'Accept: application/json', 'Authorization: Basic YWRtaW46Vnc0OXB11', ), )); $response = curl_exec($curl); curl_close($curl); echo $response;